package lesson20.condition;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;


@Conditional(MyCondition.class)
@Configuration
public class MainConfig3 {


    @Bean
    public String getString(){
        return "Hello World!";
    }
}
